<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script src="../js/lib/jquery-1.3.2.js" type="text/javascript"></script>
		<script src="../js/lib/jquery.dialog.js" type="text/javascript"></script>
		<link href="../css/layout.css" type="text/css" rel="stylesheet"/>
		<link href="../css/layout_color.css" type="text/css" rel="stylesheet"/>
		<script type="text/javascript">
			$(function(){
				var error = function(message){
					$(dialog).find(".messageTD font").text(message);
				}
				var success = function(data){
					$(dialog).dialogClose();
				}
				var dialog = $("#createRoleDialog").dialog({
					title:"新增角色",
					buttons:{
						"确定":function(){
							if($(this).validate({error:error})){
								
							}
						}
					}
				});
			});
		</script>
	</head>
	<body>
		<div id="createRoleDialog">
			<table>
				<tr>
					<td colspan="2" class="messageTD"><font style="display:" class="errorMsg"></font></td>
				</tr>
				<tr>
					<th>角色名称</th>
					<td><input name="role.roleName" alias="角色名称" type="text" class="iIpt" /></td>
				</tr>
				<tr>
					<th>角色代码</th>
					<td><input name="role.roleCode" alias="角色代码" type="text" class="iIpt" notNull english/></td>
				</tr>
				<tr>
					<th>描述信息</th>
					<td><input name="role.remark" alias="描述信息" type="text" class="iIpt"/></td>
				</tr>
			</table>
		</div>	
	</body>
</html>